2000W / 48V LLC Battery-Charger  V1.00
xmc_uart.c File Reference
#include <xmc_scu.h>
#include <xmc_uart.h>
Include dependency graph for xmc_uart.c:

Go to the source code of this file.

Macros

#define XMC_UART_CH_OVERSAMPLING   (16UL)
 
#define XMC_UART_CH_OVERSAMPLING_MIN_VAL   (4UL)
 

Functions

void XMC_UART_CH_Init (XMC_USIC_CH_t *channel, const XMC_UART_CH_CONFIG_t *const config)
 
XMC_UART_CH_STATUS_t XMC_UART_CH_SetBaudrate (XMC_USIC_CH_t *const channel, uint32_t rate, uint32_t oversampling)
 
void XMC_UART_CH_Transmit (XMC_USIC_CH_t *const channel, const uint16_t data)
 
uint16_t XMC_UART_CH_GetReceivedData (XMC_USIC_CH_t *const channel)
 
XMC_UART_CH_STATUS_t XMC_UART_CH_Stop (XMC_USIC_CH_t *const channel)
 
void XMC_UART_CH_EnableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 
void XMC_UART_CH_DisableEvent (XMC_USIC_CH_t *const channel, const uint32_t event)
 

Detailed Description

Date
2016-07-22

Definition in file xmc_uart.c.

Macro Definition Documentation

◆ XMC_UART_CH_OVERSAMPLING

#define XMC_UART_CH_OVERSAMPLING   (16UL)

Definition at line 71 of file xmc_uart.c.

Referenced by XMC_UART_CH_Init().

◆ XMC_UART_CH_OVERSAMPLING_MIN_VAL

#define XMC_UART_CH_OVERSAMPLING_MIN_VAL   (4UL)

Definition at line 72 of file xmc_uart.c.

Referenced by XMC_UART_CH_SetBaudrate().